// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   StaffOptionAction.java

package com.boci.clientapp.staffoption.action;

import com.boci.clientapp.holding.HoldingScrPanel;
import com.boci.clientapp.main.ApplicationService;
import com.boci.clientapp.main.MainPanel;
import com.boci.common.action.AbstractAction;
import java.util.HashMap;

public class StaffOptionAction extends AbstractAction
{

    public StaffOptionAction()
    {
    }

    public void doProcess(HashMap pInpMap, String pActionType)
    {
        String strModName = "HOLDING_MODULE";
        String strScrName = "HOLDING_SCREEN";
        HoldingScrPanel holdingScrPanel = (HoldingScrPanel)appServ.getMainPanel().getPanel(strModName, strScrName);
        appServ.getMainPanel().showScreen(strModName, strScrName);
        if(pActionType.equals("HK_STAFF_OPTION"))
            holdingScrPanel.showHoldingTable(3);
        else
            holdingScrPanel.showHoldingTable(4);
    }
}
